-
-
Notifications
You must be signed in to change notification settings - Fork 79
Update remark (major) #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-remark
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+396
−265
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8bf7eb2
to
675a3bf
Compare
675a3bf
to
e92a431
Compare
7f5d60d
to
7c8fe98
Compare
434a5b6
to
aa0ae8d
Compare
aa0ae8d
to
32b9aaa
Compare
32b9aaa
to
84b7899
Compare
a9c1c21
to
ee4e3ee
Compare
ee4e3ee
to
760a272
Compare
760a272
to
8c54c11
Compare
8c54c11
to
e3cd1c1
Compare
45ad3e1
to
5663f70
Compare
5663f70
to
75ae75c
Compare
75ae75c
to
97c694f
Compare
70400e3
to
1abaf13
Compare
1abaf13
to
7c51a59
Compare
903c2d8
to
a538925
Compare
a538925
to
17f0589
Compare
254fa6b
to
826c4bc
Compare
826c4bc
to
f27705f
Compare
f27705f
to
5bf6045
Compare
5bf6045
to
5b8c3f5
Compare
8423dbe
to
734242d
Compare
913b1ee
to
3ffc642
Compare
3ffc642
to
c1d5aff
Compare
c1d5aff
to
cf01a52
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^11.0.2
->^15.0.0
^1.0.0
->^5.0.0
Release Notes
remarkjs/remark (remark)
v15.0.1
Compare Source
54ee687
Fix typoFull Changelog: remarkjs/remark@15.0.0...15.0.1
v15.0.0
Compare Source
Change
98a2560
Change to require Node.js 16migrate: update too
a3e6d54
Change to useexports
migrate: don’t use private APIs
943f6ac
Update@types/mdast
,mdast-util-{from,to}-markdown
,unified
, etcmigrate: update too
remark-parse: only really changes
Buffer
->Uint8Array
, so use encodings supported byTextDecoder
if you are passing binary dataremark-stringify:
bulletOrderedOther
is removed, you can removebulletOrderedOther
if you passed it, it’s now the default;fences
is nowtrue
by default, if you don’t want indented code, passfences: false
;listItemIndent
is now'one'
by default, you can removelistItemIndent: 'one'
if you passed it, or explicitly set it to'tab'
if you want itTypes
bd8c922
Add typed settingsDocs
7cc0432
Addremark-link-rewrite
to list of pluginsby @rjanjic in https://github.com/remarkjs/remark/pull/1212
e72d91a
Addremark-mentions
to list of pluginsby @FinnRG in https://github.com/remarkjs/remark/pull/1193
Full Changelog: remarkjs/remark@14.0.3...15.0.0
v14.0.3
Compare Source
Misc
fohttps://github.com/remarkjs/remark/issues/116262
f6bd64e
Refactortsconfig
s for perf and strictnessbb4c814
Add improved docs on what this project isby @BeLi4L in https://github.com/remarkjs/remark/pull/1147
bec44aa
Updatetsconfig.json
to use node16 module resolutionby @ChristianMurphy in https://github.com/remarkjs/remark/pull/1106
f07f413
Addignore-scripts
to.npmrc
by @ChristianMurphy in https://github.com/remarkjs/remark/pull/1103
134ece2
Update Actionsby @ChristianMurphy in https://github.com/remarkjs/remark/pull/1070
974f893
Fix internal types for TS 4.9Plugins
1e488d0
Addremark-ins
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1129
e456dc5
Addremark-flexible-markers
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1126
42114fc
Addremark-flexible-paragraphs
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1120
6aa638a
Addremark-flexible-containers
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1112
20e7543
Addremark-flexible-code-titles
to list of pluginsby @talatkuyuk in https://github.com/remarkjs/remark/pull/1108
32d6948
Addremark-cloudinary-docusaurus
to list of pluginsby @johnnyreilly in https://github.com/remarkjs/remark/pull/1090
28aa8b9
update tests for changes inmdast-util-to-markdown
9af1a87
Addremark-code-title
to list of pluginsby @kevinzunigacuellar in https://github.com/remarkjs/remark/pull/1076
0d1eb09
Add 7 plugins to list of pluginsby @Xunnamius in https://github.com/remarkjs/remark/pull/1064
c7e8171
Remove deprecatedremark-jargon
by @LunaticMuch in https://github.com/remarkjs/remark/pull/1059
Full Changelog: remarkjs/remark@14.0.2...14.0.3
v14.0.2
Compare Source
87c50a5
Add improved docsby @wooorm in https://github.com/remarkjs/remark/pull/900
Full Changelog: remarkjs/remark@14.0.1...14.0.2
v14.0.1
Compare Source
9026568
Add missing types dependencyv14.0.0
Compare Source
b7afd25
Use ESMChange:
Learn more about ESM in this guide
42d1b21
Update dependenciesunified
(10.0.0) (see: https://github.com/unifiedjs/unified/releases/tag/10.0.0)vfile
(5.0.0) (see: https://github.com/vfile/vfile/releases/tag/5.0.0)Importantly this renames
tovfile.contents
vfile.value
mdast-util-from-markdown
(1.0.0) (see: https://github.com/syntax-tree/mdast-util-from-markdown/releases/tag/1.0.0)mdast-util-to-markdown
(1.0.0) (see: https://github.com/syntax-tree/mdast-util-to-markdown/releases/tag/1.0.0)bc55caa
Add JSDoc based typesv13.0.0
: (micromark)Compare Source
This is a giant change for remark. It replaces the 5+ year old internals with a new low-level parser:
micromark
. The old internals have served billions of users well over the years, but markdown has changed over that time. micromark comes with 100% CommonMark (and GFM as an extension) compliance, and (WIP) docs on parsing rules for how to tokenize markdown with a state machine. micromark, and micromark in remark, is a good base for the future.Migration
remark*
packages you are using inpackage.json
remark-gfm
Please compare with those projects if the new behavior is correct or not (CommonMark Dingus, or create a gist for GFM).
Does remark not match those reference parsers? Please open an issue here!
Changes
remark-parse
remark-parse
now defers its work tomicromark
andmdast-util-from-markdown
.micromark
is a new, small, complete, and CommonMark compliant low-level markdown parser.from-markdown
turns its tokens into the previously (and still) used syntax tree: mdast. Extensions toremark-parse
work differently: they’re a two-part act. See for examplemicromark-extension-footnote
andmdast-util-footnote
.commonmark
is no longer an option — it’s the defaultgfm
is no longer an option — moved toremark-gfm
pedantic
is no longer an option — this legacy and buggy flavor of markdown is no longer widely usedblocks
is no longer an options — it’s no longer suggested to change the internal list of HTML “block” tag namesremark-stringify
remark-stringify now defers its work to
mdast-util-to-markdown
. It’s a new and better serializer with powerful features to ensure serialized markdown represents the syntax tree (mdast), no matter what plugins do. Extensions to it work differently: see for examplemdast-util-footnote
.options
commonmark
is no longer an option, it’s the defaultemphasis
now defaults to*
bullet
now defaults to*
gfm
is no longer an option — moved toremark-gfm
tableCellPadding
— moved toremark-gfm
tablePipeAlign
— moved toremark-gfm
stringLength
— moved toremark-gfm
pedantic
is no longer an option — this legacy and buggy flavor of markdown is no longer widely usedentities
is no longer an option — with CommonMark there is almost never a need to use character references, as character escapes are preferredquote
— you can now prefer single quotes ('
) over double quotes ("
) in titlesChanges to output / the tree
All of these are for CommonMark compatibility. They’re all fixes. Most of them are inconsequential to most folks.
[text][id]
and images![alt][id]
) are no longer present as such in the syntax tree if they don’t have a corresponding definition ([id]: example.com
). The reason for this is that CommonMark requires[text *emphasis start][undefined] emphasis end*
to be emphasis.<!---->
)<mailto:foobarbaz>
are now correctly parsed, and the scheme is part of the tree©
w/o the semicolon, are no longer recognizedindent
field is no longer available onposition
Thanks
Thanks to Salesforce, Gatsby, Vercel, and Netlify, and our other backers for sponsoring the work on micromark!
To support our continued work, back us on OpenCollective!
v12.0.1
Compare Source
a185821
Update internalimport-meta-resolve
Full Changelog: https://github.com/remarkjs/remark/compare/[email protected]@12.0.1
v12.0.0
Compare Source
2841e47
Updateremark-parse
(breaking, please see its release section)
1baae5e
Updateremark-stringify
(breaking, please see its release section)
6543d08
Updateunified
(breaking, please see its release section)
remarkjs/remark-footnotes (remark-footnotes)
v5.0.0
Compare Source
v4.0.1
Compare Source
cf5b45e
Update docs, tests for changes inremark-rehype
v4.0.0
Compare Source
6ec8372
Use ESM6249e02
Add JSDoc based types4c4f827
Remove warning for remark 12v3.0.0
Compare Source
0cfeae1
Update formicromark
inremark@13
(breaking, this update will not work with remark lower than v13, and see commit for other changes)
v2.0.0
Compare Source
020aa32
Add types(breaking, potentially, if you or your dependents use typescript)
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.